package com.ruoyi.pay.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum OrderStatus {


    /**
     * 未支付
     */
    NOTPAY("NOT_PAY"),

    /**
     * 支付成功
     */
    PAYD("PAY_SUCCESS"),

    /**
     * 订单关闭
     */
    CLOSED("PAY_CLOSED"),

    /**
     * 订单退款
     */
    REFUND("PAY_REFUND"),

    /**
     * 退款中
     */
    REFUND_PROCESSING("REFUND_PROCESSING"),

    /**
     * 已退款
     */
    REFUND_SUCCESS("REFUND_SUCCESS"),

    /**
     * 退款异常
     */
    REFUND_ABNORMAL("REFUND_ABNORMAL");




    private String status;

    @Override
    public String toString() {
        return this.status;
    }

}
